// eslint-disable-next-line no-unused-vars
import req from './http';

// 市场情绪
export const reqEmotion = params =>
  req('get', _Global.api.emotion, '', {
    ...params,
  });

// 市场热点
export const reqHotSpot = params =>
  req('get', _Global.api.hotspot, '', {
    ...params,
  });

// 基础接口
export const reqBase = params =>
  req('get', _Global.api.baseUrl, '', {
    ...params,
  });
export const reqPostBase = params =>
  req('post', _Global.api.baseUrl, '', {
    ...params,
  });

// 涨停连板个股
export const reqLbgg = params =>
  req('get', _Global.api.potentialApi, '', {
    ...params,
  });
// 涨停分析
export const reqZtfx = params =>
  req('get', _Global.api.limitupAnalysis, '', {
    ...params,
  });
// 获得交易日
export const reqTradeDays = params =>
  req('get', _Global.api.tradeDays, '', {
    ...params,
  });
// 连板天梯tab
export const reqChartInfo = params =>
  req('get', _Global.api.chartInfo, '', {
    ...params,
  });
// 涨停复盘
export const reqLimitupZtfp = params =>
  req('get', _Global.api.limitupZtfp, '', {
    ...params,
  });
// 热点复盘
export const reqLimitupGnlt = params =>
  req('get', _Global.api.limitupGnlt, '', {
    ...params,
  });
// 强趋势股
export const reqTrendStockPool = params =>
  req('get', _Global.api.trendStockPool, '', {
    ...params,
  });
// 历史新高股
export const reqHighStockPool = params =>
  req('get', _Global.api.highStockPool, '', {
    ...params,
  });
// 新股池
export const reqNewStockPool = params =>
  req('get', _Global.api.newStockPool, '', {
    ...params,
  });
// 炸板池
export const reqOnceLimitupPool = params =>
  req('get', _Global.api.onceLimitupPool, '', {
    ...params,
  });
// 跌停池
export const reqDownLimitPool = params =>
  req('get', _Global.api.downLimitPool, '', {
    ...params,
  });
// 涨停基因
export const reqZtjy = params =>
  req('get', _Global.api.ztjy, '', {
    ...params,
  });
  // 用户权限
export const reqUserAuth = params =>
  req('post', _Global.api.userAuthenticateApi, '', params, { withCredentials: true});
// 问财机器人灰度名单和白名单
export const reqWencaiSwitch = params =>
  req('get', _Global.api.wencaiSwitchApi, '', {
    ...params,
  });
// ai问句
export const reqAskText = params =>
  req('get', _Global.api.askText, '', {
    ...params,
  });
// 涨停信息
export const reqLimitupInfo = params =>
  req('get', _Global.api.limitupInfo, '', {
    ...params,
  });
